function* getBlogs(page, pagesize) {
    yield $.get(`/blogo/blog/list/${page}/${pagesize}`, function (res) {
        return res.data.blog_list
    })
};



gen.next();// send a request for getting blog list.

var blogs = gen.next().value
export {getBlogs, blogs}

